package com.alone.embedded.lucene.repository.query;

import com.alone.embedded.lucene.repository.query.wrapper.LambdaQueryWrapper;
import com.alone.embedded.lucene.repository.query.wrapper.StrQueryWrapper;
import lombok.experimental.UtilityClass;

/**
 * 查询包装器工具类
 *
 * @author Alone
 * @date 2022/8/24 4:45 下午
 */
@UtilityClass
public class Wrappers {

    public <T> StrQueryWrapper<T> strQuery() {
        return new StrQueryWrapper<>();
    }

    public <T> LambdaQueryWrapper<T> lambdaQuery() {
        return new LambdaQueryWrapper<>();
    }

}
